package com.bblocks.auth.pojo.entity;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author makejava
 * @since 2022-04-07 11:28:09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@TableName("sys_app_group_user")
@Schema(description = "灰度权限组用户")
public class SysAppGroupUser implements Serializable {
    private static final long serialVersionUID = -52646401083108464L;

    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description="$column.comment")
    private Long id;

    @TableField("group_id")
    @Schema(description="组ID")
    private Long groupId;

    @TableField("user_id")
    @Schema(description="用户id")
    private Long userId;

    @TableField("mobile")
    @Schema(description="手机号")
    private String mobile;

    @TableField("chk_code")
    @Schema(description="验证码")
    private String chkCode;

    @TableField("nick_name")
    @Schema(description="用户昵称")
    private String nickName;


}
